import request from "@/utils/request";

//提现分页
export function listRecharge(query) {
  return request({
    url: '/sys/app/user/recharge/page',
    method: 'post',
    data: query
  })
}

//提现审核
export function rechargeAudit(id, data) {
  return request({
    url: `sys/app/user/recharge/audit/${id}`,
    method: 'put',
    params: data
  })
}

//分页查询用户充值统计信息

export function rechargeList(data) {
  return request({
    url: `/sys/user/statistics/recharge/page`,
    method: 'post',
    data: data
  })
}

//查询用户充值状态统计
export function rechargeState(data) {
  return request({
    url: `/sys/user/statistics/recharge/state`,
    method: 'post',
    data: data
  })
}
